package com.ruoyi.system.mapper;

import java.util.List;

import com.ruoyi.system.domain.JyjcSharingExpenses;
import com.ruoyi.system.domain.JyjcSharingExpensesSum;
import com.ruoyi.system.domain.JyjcSharingExpensesSumExport;

/**
 * 财务收入支出统计Mapper接口
 * 
 * @author 石亚兵
 * @date 2025-07-12
 */
public interface JyjcSharingExpensesSumMapper 
{
    /**
     * 查询财务收入支出统计
     * 
     * @param deptname 财务收入支出统计主键
     * @return 财务收入支出统计
     */
    public JyjcSharingExpensesSum selectJyjcSharingExpensesSumByDeptname(String deptname);

    /**
     * 查询财务收入支出统计列表
     * 
     * @param jyjcSharingExpensesSum 财务收入支出统计
     * @return 财务收入支出统计集合
     */
    public List<JyjcSharingExpensesSum> selectJyjcSharingExpensesSumList(JyjcSharingExpensesSum jyjcSharingExpensesSum);

    public List<JyjcSharingExpensesSum> alllist(JyjcSharingExpensesSum jyjcSharingExpensesSum);
    public List<JyjcSharingExpensesSum> deptlist(JyjcSharingExpensesSum jyjcSharingExpensesSum);
    public List<JyjcSharingExpensesSum> importalllist(JyjcSharingExpensesSum jyjcSharingExpensesSum);
    public List<JyjcSharingExpensesSum> importalllistsd(JyjcSharingExpensesSum jyjcSharingExpensesSum);
    public List<JyjcSharingExpensesSum> allsumlist(JyjcSharingExpensesSum jyjcSharingExpensesSum);

    public List<JyjcSharingExpensesSumExport> allsumlistExport(JyjcSharingExpensesSum jyjcSharingExpensesSum);
    /**
     * 新增财务收入支出统计
     * 
     * @param jyjcSharingExpensesSum 财务收入支出统计
     * @return 结果
     */
    public int insertJyjcSharingExpensesSum(JyjcSharingExpensesSum jyjcSharingExpensesSum);
    public  int insertJyjcExpensesLs(JyjcSharingExpensesSum jyjcSharingExpensesSum);
    /**

     * 修改财务收入支出统计
     * 
     * @param jyjcSharingExpensesSum 财务收入支出统计
     * @return 结果
     */
    public int updateJyjcSharingExpensesSum(JyjcSharingExpensesSum jyjcSharingExpensesSum);
    /**
    修改不分摊费用数据，把报表中的金额同步分摊到对应六部一所
     * @return 结果
     */
    public int updateNoSharingExpenses(JyjcSharingExpensesSum jyjcSharingExpensesSum);
    /**
     * 删除财务收入支出统计
     * @return 结果
     */
    public int deleteJyjcExpensesLs();

    public  int deleteJyjcSharingExpensesSumByYearYf(JyjcSharingExpensesSum jyjcSharingExpensesSum);
    public int batchJyjcExpensesLs(List<JyjcSharingExpensesSum> jyjcSharingExpensesList);
}
